package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.mapper.voipmapper.TaskListMapper;
import com.base.po.voip.TaskList;
import com.base.service.TaskListService;

@Service("taskListService")
public class TaskListServiceImpl implements TaskListService {

	@Autowired
	private TaskListMapper taskListMapper;
	
	@Override
	public int deleteByPrimaryKey(String id) {
		return taskListMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(TaskList record) {
		return taskListMapper.insert(record);
	}

	@Override
	public int insertSelective(TaskList record) {
		return taskListMapper.insertSelective(record);
	}

	@Override
	public TaskList selectByPrimaryKey(String id) {
		return taskListMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(TaskList record) {
		return taskListMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(TaskList record) {
		return taskListMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<TaskList> selectByAll(TaskList record) {
		return taskListMapper.selectByAll(record);
	}
}
